package com.skp.shaphan.menus;

import javax.swing.JMenu;

/**
 * Creates a connection menu that shows all of the connection options
 * @author Stephen Phillips
 *
 */
public class ConnectionMenu extends JMenu {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8893072488284867487L;

	public ConnectionMenu() {
		super("Connections");
		this.setMnemonic('C');
		this.add(new ConnectionConnectMenuItem(ConnectionConnectMenuItem.SWING_DIALOG_TYPE));
		this.add(new ConnectionConnectMenuItem(ConnectionConnectMenuItem.JAVAFX_DIALOG_TYPE));
	}
}
